import request from '@/utils/request'

export function syncTaskList(data) {
  return request({
    url: '/gdfs/sys/syncdata/tasklist',
    method: 'post',
    data
  })
}

export function createfullTask(data) {
  return request({
    url: '/gdfs/sys/store/createfulltask',
    method: 'post',
    data
  })
}

export function startFullTask(data) {
  return request({
    url: '/gdfs/sys/syncdata/startfulltask',
    method: 'post',
    data
  })
}

export function stopFullTask(data) {
  return request({
    url: '/gdfs/sys/syncdata/stopfulltask',
    method: 'post',
    data
  })
}

export function removeFullTask(data) {
  return request({
    url: '/gdfs/sys/syncdata/removefulltask',
    method: 'post',
    data
  })
}
